home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1996 #14 / Monster Media No. 14 (April 1996) (Monster Media, Inc.).ISO / prog_d / oleauttr.zip / XLOLE7.ZIP / README.TXT < prev    next >
Text File  |  1996-01-04  |  852b  |  19 lines

  1. This example illustrates controlling Excel as an OLE server.
  2. It differs from the XLOLE5 example in that the server (Excel)
  3. is run as a stand-alone instance rather than within a Delphi
  4. TOLEContainer component.
  5.  
  6. This example works with both Excel 5 and Excel 7, whereas
  7. the XLOLE5 example works only with Excel 5.
  8.  
  9. When you click the Create button, Excel starts up and becomes
  10. visible.  If you then click the SaveAs... button, a new Workbook
  11. is created, the contents of the edit box are inserted as the
  12. value of the upper left cell, and Excel saves the worksheet
  13. under a name you are asked to specify.
  14.  
  15. It illustrates interesting techniques: writing nested "mirror
  16. classes", automatic allocation and deallocation of nested
  17. objects, and the use of the TOLEObject.GetObject(ProgID : String)
  18. constructor to "hook into" a running instance.
  19.